C1.LiveLinq Namespace > LiveViewExtensions Class > LiveAggregate Method : LiveAggregate<TSource,TAccumulate>(View<TSource>,TAccumulate,Expression<Func<TAccumulate,TSource,TAccumulate>>,Expression<Func<TAccumulate,TSource,TAccumulate>>,Expression<Func<TAccumulate,TSource,Boolean>>) Method |
'Declaration
Public Overloads Shared Function LiveAggregate (Of TSource,TAccumulate)( _ ByVal source As View(Of TSource), _ ByVal seed As TAccumulate, _ ByVal funcAdd As System.Linq.Expressions.Expression(Of Func(Of TAccumulate,TSource,TAccumulate)), _ ByVal funcRemove As System.Linq.Expressions.Expression(Of Func(Of TAccumulate,TSource,TAccumulate)), _ ByVal funcRemoveDefined As System.Linq.Expressions.Expression(Of Func(Of TAccumulate,TSource,Boolean)) _ ) As AggregationView(Of TSource,TAccumulate)
public static AggregationView<TSource,TAccumulate> LiveAggregate<TSource,TAccumulate>( View<TSource> source, TAccumulate seed, System.Linq.Expressions.Expression<Func<TAccumulate,TSource,TAccumulate>> funcAdd, System.Linq.Expressions.Expression<Func<TAccumulate,TSource,TAccumulate>> funcRemove, System.Linq.Expressions.Expression<Func<TAccumulate,TSource,bool>> funcRemoveDefined )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2